#include <iostream>
#include <iomanip>
#include <deque>
using namespace std;

int main()
{
  deque<int> d(10,12);
  cout<<"size():\t"<<d.size()<<endl;
  cout<<"empty():\t"<<d.empty()<<endl;
  cout<<"max_size():\t"<<d.max_size()<<endl;
  cout<<endl;

  d.resize(15);
  cout<<setw(20)<<setfill('-')<<"after resize(15)"<<endl;
  cout<<"size():\t"<<d.size()<<endl;
  cout<<"empty():\t"<<d.empty()<<endl;
  cout<<"max_size():\t"<<d.max_size()<<endl;
  cout<<endl;

  d.resize(8);
  cout<<setw(20)<<setfill('-')<<"after resize(8)"<<endl;
  cout<<"size():\t"<<d.size()<<endl;
  cout<<"empty():\t"<<d.empty()<<endl;
  cout<<"max_size():\t"<<d.max_size()<<endl;
  cout<<endl;

  return 0;
}
